//
//  LOadImageView.h
//  wulihan
//
//  Created by tang on 16/3/28.
//  Copyright © 2016年 tang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "IQStickerView.h"


@protocol LOadImageViewDelegate <NSObject>

- (void)saveImageWith:(float)X withY:(float)Y withGes:(UIPanGestureRecognizer *)gesView;


@required
- (void)saveImageWithScale:(float)scaleZoom withContentWithX:(float)X withY:(float)Y;


@end



@interface LOadImageView : UIView


@property (nonatomic, strong) UIImage *qipaoImage;

@property (nonatomic, assign) int croperInt;
@property (nonatomic, assign) CGRect cropRect;
//@property (nonatomic, strong) IQStickerView *stickerView2;

@property (nonatomic, strong) NSString *nameString;
@property (nonatomic, weak) id<LOadImageViewDelegate>MLOadImageViewDelegate;

- (void)setimageLoad:(UIImage *)image withX:(float)X withY:(float)Y withZoom:(float)Zoom;



- (UIImage *)cropImage;

//加载图片
- (UIImage *)loadImageWithimage:(UIImage *)image;


@end
